
<div id="content" >
	<div class="row crumb_row">
		<big-breadcrumbs items="['存储磁盘', '存储软件管理并使用的存储设备的基本信息']" class="col-xs-12 col-sm-12 col-md-12 col-lg-12"></big-breadcrumbs>
		<alert-message  level=level message=message show=show class="col-xs-8 col-sm-5 col-md-5 col-lg-3"></alert-message>
	</div>
	<state-breadcrumbs></state-breadcrumbs>
	<section id="widget-grid" widget-grid>
		<div class="row">
			<div class="col-md-12 col-xs-12 col-lg-12 col-sm-12 action_wrap" >
				<div class=" btn-group  pull-right">
					<button class="btn btn_lightblue" ng-click="reloadData()"> 刷新
					</button>
				</div>
			</div>
			<article class="col-sm-12 col-md-12 col-lg-12 col-xs-12">
				<div class="widget-body">
					<table datatable dt-options="showDisk.dtOptions" dt-columns="showDisk.dtColumns" class="table table-striped  table-hover row-border hover diskTable" dt-instance="showDisk.dtInstance" id="diskTab"></table>
				</div>
			</article>
		</div>
	</section>
	<div class="modal" tabindex="-1" role="dialog"
		 aria-labelledby="myLargeModalLabel" id="unmountModal">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal">
						<span aria-hidden="true">&times;</span><span class="sr-only">Close</span>
					</button>
					<h4 class="modal-title">确认信息</h4>
				</div>
				<div class="modal-body">
					<div>
						请谨慎操作，卸载磁盘可能导致卷变为不可用！是否继续？
					</div>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn_lightblue" data-dismiss="modal"
							ng-click="unmountDisk()">确定</button>
					<button type="button" class="btn btn_default" data-dismiss="modal">取消</button>
				</div>
			</div>
		</div>
	</div>
	<div class="modal" tabindex="-1" role="dialog"
		 aria-labelledby="myLargeModalLabel" id="reuseBrokenModal">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal">
						<span aria-hidden="true">&times;</span><span class="sr-only">Close</span>
					</button>
					<h4 class="modal-title">确认信息</h4>
				</div>
				<div class="modal-body">
					<div>
						磁盘读写发生过异常，重新加载磁盘可能会影响系统功能！是否继续？
					</div>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn_lightblue" data-dismiss="modal"
							ng-click="reuseBrokenDisk()">确定</button>
					<button type="button" class="btn btn_default" data-dismiss="modal">取消</button>
				</div>
			</div>
		</div>
	</div>
	<div class="modal" tabindex="-1" role="dialog"
		 aria-labelledby="myLargeModalLabel" id="reuseConfigModal">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal">
						<span aria-hidden="true">&times;</span><span class="sr-only">Close</span>
					</button>
					<h4 class="modal-title">确认信息</h4>
				</div>
				<div class="modal-body">
					<div>
						磁盘配置与当前系统配置不一致，重用该盘会导致其上的数据丢失，是否要继续？
					</div>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn_lightblue" data-dismiss="modal"
							ng-click="reuseConfig()">确定</button>
					<button type="button" class="btn btn_default" data-dismiss="modal">取消</button>
				</div>
			</div>
		</div>
	</div>

	<div class="modal" tabindex="-1" role="dialog"
		 aria-labelledby="myLargeModalLabel" id="mount_disk_modal">
		<div class="modal-dialog" style="width: 700px;">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal">
						<span aria-hidden="true">&times;</span><span class="sr-only">Close</span>
					</button>
					<h4 class="modal-title">挂载磁盘</h4>
				</div>
				<div class="modal-body" style="padding-bottom: 0">
					<form class="form-horizontal" role="form">
						<div class="form-group ">
							<label class="col-sm-3 control-label">磁盘名称</label>
							<div class="col-sm-7">
								<input type="text" class="form-control" ng-model="mountDiskName" disabled data-required="1">
							</div>
						</div>
						<div class="form-group">
							<label  class="col-sm-3 control-label">存储类型</label>
							<div class="col-sm-7">
								<input type="text" class="form-control" ng-model="mountType" disabled data-required="1">
							</div>
						</div>
						<div class="form-group">
							<label  class="col-sm-3 control-label">主机IP</label>
							<div class="col-sm-7">
								<input type="text" class="form-control" ng-model="mountIp" disabled data-required="1">
							</div>
						</div>
						<div class="form-group">
							<label  class="col-sm-3 control-label">选择磁盘类型</label>
							<div class="col-sm-7">
									<fieldset>
										<section>
											<div class="inline-group">
												<label class="checkbox col-sm-4"><input  type="checkbox" name="checkbox-inline" id="RAW_DISK" ng-model="rawDisk" ng-click="checkoutEve(1)" style="margin-top:2px"><i></i>数据盘</label>
												<label class="checkbox col-sm-4"><input  type="checkbox" name="checkbox-inline" id="WTS_DISK" ng-click="checkoutEve(2)" style="margin-top:2px"><i></i>WTS盘</label>
												<label class="checkbox col-sm-4"><input  type="checkbox" name="checkbox-inline" id="PAGE_CACHE" ng-click="checkoutEve(2)" style="margin-top:2px"><i></i>缓存盘</label>
											</div>
										</section>
									</fieldset>
							</div>
						</div>
					</form>
				</div>
				<div class="modal-footer">
					<input type="button" class="btn btn_lightblue" ng-click="mountBtn()" value="确定" disabled id="mountBtn"/>
					<input type="button" data-dismiss="modal" class="btn btn_default" value="取消" />
				</div>
			</div>
		</div>
	</div>
</div>
